package com.junmo.common.redis.properties;

import com.junmo.common.redis.enums.RedisConnectionType;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description:
 * @Author: zjj
 * @Date: 2022/7/17
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "redisson")
public class RedisProperty {
    private String address;
    private String password;
    private Integer database;
    private Integer minIdle;
    private RedisConnectionType type = RedisConnectionType.CLUSTER;
}
